package cn.stylefeng.guns.modular.gridsystem.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotNull;

/**
 * 振动数据上报日志
 *
 * @author ssy
 * @date 2023/02/03 09:53
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BizAmpLogParam extends BaseParam {

    /**
     * id
     */
    @NotNull(message = "id不能为空",groups = {edit.class})
    private Long id;

    /**
     * 振动点位
     */
    @NotNull(message = "振动点位不能为空",groups = {add.class,edit.class})
    private String vibrationPoint;

    /**
     * 文件id
     */
    @NotNull(message = "文件id不能为空",groups = {add.class,edit.class})
    private Long fileId;

    /**
     * 网关编号
     */
    @NotNull(message = "网关编号不能为空",groups = {add.class,edit.class})
    private String gatewayCode;

    /**
     * 通道
     */
    @NotNull(message = "通道不能为空",groups = {add.class,edit.class})
    private String channel;

    private String gatewayIds;

}
